package com.design.pattern.creator.builder.chain;

public class Test {
    public static void main(String[] args) {
        CourseBuilder builder = new CourseBuilder();
        Course course = builder.addName("设计模式").addPpt("【ppt课件】").addVideo("【录制课程】").builder();
        System.out.println(course);
    }
}
